package model.game;

import java.io.Serializable;

public class NPC extends Player implements Serializable{
    private String talk;
    private boolean attackable;
    public NPC(String name, String talk){
        super(name);
        this.talk = talk;
    }
    public String getTalk(){
        return talk;
    }
    public Skill chooseSkill(){
        int chance = 1 + (int) (Math.random() * getSkills().size());
        chance--;
        return (getSkills().get(chance));
    }
    
}
